﻿using Basefr.Core.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Paas.Core.Meta.Entities
{
    public abstract class BaseEntity: BaseEntity<Guid>
    {
        
    }

    public abstract class BaseEntity<T> : EntityBase<T> where T:struct
    {
        /// <summary>
        /// 排序值
        /// </summary>
        //[DatabaseGenerated(DatabaseGeneratedOption.Identity)]//设置自增
        public int? SortNum { get; set; }
        ///// <summary>
        ///// GUID唯一标识
        ///// </summary>
        //public Guid Id { get; set; }
        /// <summary>
        /// 租户Id
        /// </summary>
        //public int TenantId { get; set; }
        ///// <summary>
        ///// 创建人
        ///// </summary>
        //public int CreatedBy { get; set; }
        ///// <summary>
        ///// 创建时间
        ///// </summary>
        //public DateTime CreatedTime { get; set; }
        ///// <summary>
        ///// 编辑人
        ///// </summary>
        //public int ModifiedBy { get; set; }
        ///// <summary>
        ///// 编辑时间
        ///// </summary>
        //public DateTime ModifiedTime { get; set; }

    }
}
